#include "goodmood.h"

goodmood::goodmood()
{ mood.load(mood_path);
pre_mood.load(mood_pre);
    x=0;pre_x=0;pre_y=10;
    y=10;

    free=true;

   // rect.setWidth(mood.width());
   // rect.setHeight(mood.height());
   // rect.moveTo(x,y);

}

/*void goodmood::setmoodposition()
{if(free)
    {return;}

   // rect.moveTo(x,y);
//if(point==)
//{free=true;}//子弹回归空闲状态

}
*/
